package com.hoe.tsb.fraft.event;

import com.hoe.tsb.fraft.enums.ConnectStatus;
import com.hoe.tsb.fraft.exception.FRaftClientException;
import lombok.Data;

/**
 * <p>
 * 客户端监听事件
 * </p>
 *
 * @author hoe
 * @version 1.0
 * @date 2022/11/21 17:20
 */
@Data
public class ConnectEvent {
    /**
     * 连接状态
     */
    private ConnectStatus status;

    /**
     * 连接异常
     */
    private FRaftClientException exception;
}
